from django.db import models

# Create your models here.
class Network(models.Model):
    Action = models.CharField(max_length=200)
    Hostname = models.CharField(max_length=200)
    PID = models.IntegerField()
    Comm = models.CharField(max_length=200)
    ParentComm = models.CharField(max_length=200)
    Addr = models.CharField(max_length=200)
    Domain = models.CharField(max_length=200)
    Port = models.CharField(max_length=200)
    Protocol = models.CharField(max_length=200)

class File(models.Model):
    Action = models.CharField(max_length=200)
    Hostname = models.CharField(max_length=200)
    PID = models.IntegerField()
    UID = models.IntegerField()
    UName = models.CharField(max_length=200)
    Comm = models.CharField(max_length=200)
    ParentComm = models.CharField(max_length=200)
    Path = models.CharField(max_length=200)

class Mount(models.Model):
    Action = models.CharField(max_length=200)
    Hostname = models.CharField(max_length=200)
    PID = models.IntegerField()
    Comm = models.CharField(max_length=200)
    ParentComm = models.CharField(max_length=200)
    SourcePath = models.CharField(max_length=200)

class Process(models.Model):
    Hostname = models.CharField(max_length=200)
    PID = models.IntegerField()
    PPID = models.IntegerField()
    Comm = models.CharField(max_length=200)
    ParentComm = models.CharField(max_length=200)
